/**
 * 获取本地存贮
 * @param {*} key    存储键
 * @returns
 */
export const getStorageVal = (key: string) => {
  return window.sessionStorage.getItem(key)
}


/**
 * 设置本地存贮
 * @param {*} key    存储键
 * @param {*} val    存储值
 * @returns
 */
export const setStorageVal = (key: string, val: any) => {
  return window.sessionStorage.setItem(key, val)
}

/**
 * 去除本地存贮
 * @param {*} key    存储键
 * @returns
 */
export const removeStorageVal = (key: string) => {
  return window.sessionStorage.removeItem(key)
}